oracle.pg.common

## Class OracleWrapperEdge

- java.lang.Object
- - oracle.pg.common.OracleWrapperElement
  - - oracle.pg.common.OracleWrapperEdge

- All Implemented Interfaces:
    Edge, Element

      public class OracleWrapperEdge
      extends OracleWrapperElement
      implements Edge

  This class implements the Blueprints Edge and Element interface by using an Oracle backend.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static OracleWrapperEdge` | `getInstance(OracleWrapperGraph opg, Long eid)` Returns an instance of OracleWrapperEdge
    `static OracleWrapperEdge` | `getInstance(OracleWrapperGraph opg, OracleWrapperVertex outVertex, OracleWrapperVertex inVertex, String edgeLabel, Long eid)` Returns an instance of OracleWrapperEdge
    `OracleWrapperVertex` | `getInVertex()` This is a bit more convenient than the getVertex API that uses Direction.
    `String` | `getLabel()` Return the label associated with the edge.
    `OracleWrapperVertex` | `getOutVertex()` This is a bit more convenient than the getVertex API that uses Direction.
    `Vertex` | `getVertex(Direction direction)` Return the tail/out or head/in vertex.
    `void` | `remove()`
    `String` | `toString()`

    - ### Methods inherited from class oracle.pg.common.OracleWrapperElement

      `countPropertyKeys, getId, getProperty, getPropertyKeys, isPartial, removeProperty, setProperty, setProperty`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface com.tinkerpop.blueprints.Element

      `getId, getProperty, getPropertyKeys, removeProperty, setProperty`

- - ### Method Detail

    - #### getInstance

          public static OracleWrapperEdge getInstance(OracleWrapperGraph opg,
                                      Long eid)

      Returns an instance of OracleWrapperEdge

    - #### getInstance

          public static OracleWrapperEdge getInstance(OracleWrapperGraph opg,
                                      OracleWrapperVertex outVertex,
                                      OracleWrapperVertex inVertex,
                                      String edgeLabel,
                                      Long eid)

      Returns an instance of OracleWrapperEdge

    - #### getInVertex

          public OracleWrapperVertex getInVertex()

      This is a bit more convenient than the getVertex API that uses Direction.

    - #### getLabel

          public String getLabel()

      Return the label associated with the edge.
      Specified by:
        `getLabel` in interface `Edge`

    - #### getOutVertex

          public OracleWrapperVertex getOutVertex()

      This is a bit more convenient than the getVertex API that uses Direction.

    - #### getVertex

          public Vertex getVertex(Direction direction)

      Return the tail/out or head/in vertex.
      Specified by:
        `getVertex` in interface `Edge`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `Element`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.